@import "../../../index.scss";

.container {
  .sticky {
    background-color: #fff;

    .header {
      padding: 30rpx 40rpx;

      .title {
        font-size: 42rpx;
        font-weight: bold;
        padding-bottom: 10rpx;
      }

      .tip {
        font-size: 26rpx;
        color: #999;
      }
    }

    .tabber {
      display: flex;
      border-bottom: 1px solid #eee;
      padding: 30rpx 40rpx;
      padding-top: 10rpx;
      box-sizing: border-box;

      .list {
        display: flex;
        align-items: center;
        margin-right: 40rpx;

        .icon {
          width: 50rpx;
          height: 50rpx;
          margin-right: 10rpx;
        }

        .name {
          font-size: 28rpx;
          color: #333;
        }
      }
    }

    .clas {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;

      .list {
        padding: 30rpx 0;
        text-align: center;
        color: #666;

        &.active {
          color: #000;
          font-weight: bold;
          border-bottom: 3px solid #000;
        }
      }
    }
  }


  .store {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rpx;
    padding: 10rpx;
    padding-top: 30rpx;

    .item {
      .cover {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        background-color: #f8f8f8;
        position: relative;

        image {
          position: absolute;
          width: 100%;
          height: 100%;
          left: 0;
          top: 0;
        }
      }

      .cont {
        padding: 20rpx;
        box-sizing: border-box;

        .title {
          font-size: 28rpx;
          font-weight: bold;
          margin-bottom: 14rpx;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;

        }

        .desc {
          font-size: 26rpx;
          color: #767676;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;

        }

        .price {
          padding-top: 14rpx;
          font-size: 26rpx;
          color: #000;
          font-weight: bold;
        }
      }
    }

    .noData {
      text-align: center;
      position: fixed;
      top: 40%;
      width: 100%;

      image {
        width: 30%;
        opacity: .5;
      }

      .tip {

        color: #888;
        font-size: 26rpx;
        margin-top: 20rpx;
      }
    }
  }
}